---
layout: single
property_name: border-right-width
---

<section id="border-right-width" class="property">
  <header class="property-header">
    <nav class="property-links">
        <a class="property-collection" href="{{site.url}}/box-model/">
          In collection: <strong>box-model</strong>
        </a>
      <a class="property-links-direct" href="{{site.url}}/property/border-right-width/" data-property-name="border-right-width" data-tooltip="Single page for this property">Permalink</a>
      <a class="property-share" data-tooltip="Share on Twitter or Facebook" data-property-name="border-right-width">Share</a>
      <a target="_blank" href="https://developer.mozilla.org/en/docs/Web/CSS/border-right-width" data-tooltip="See on Mozilla Developer Network" rel="external">MDN</a>
    </nav>
    <h2 class="property-name">
      <a href="#border-right-width"><span>#</span>border-right-width</a>
    </h2>
    <div class="property-description">
      <p>Like <code class="shorthand"><a href="http://cssreference.io/#border-width">border-width</a></code>, but for the <strong>right</strong> border only.</p>

    </div>

  </header>

    <style type="text/css">.border-right-width { border-right-style: solid; }</style>




    <section class="example">
      <header class="example-header">
        <p class="example-name">
            <code class="example-default" data-tooltip="This is the property's default value">default</code>


          <code class="example-value" data-tooltip="Click to copy" data-clipboard-text="border-right-width: 0;">border-right-width: 0;</code>
        </p>
        <div class="example-description">
          <p>Removes the right border.</p>

        </div>
      </header>

      <aside class="example-preview">
        <div class="example-browser"><i></i><i></i><i></i></div>
        <div class="example-output">
          <div class="example-output-div border-right-width " id="border-right-width-0">Hello world</div>
        </div>
      </aside>
          <style type="text/css">#border-right-width-0{ border-right-width:0;}</style>
    </section>
    <section class="example">
      <header class="example-header">
        <p class="example-name">


          <code class="example-value" data-tooltip="Click to copy" data-clipboard-text="border-right-width: 4px;">border-right-width: 4px;</code>
        </p>
        <div class="example-description">
          <p>You can use <strong>pixel</strong> values.</p>

        </div>
      </header>

      <aside class="example-preview">
        <div class="example-browser"><i></i><i></i><i></i></div>
        <div class="example-output">
          <div class="example-output-div border-right-width " id="border-right-width-4px">Hello world</div>
        </div>
      </aside>
          <style type="text/css">#border-right-width-4px{ border-right-width:4px;}</style>
    </section>

</section>
